﻿@{
    Layout = "";
}

<!DOCTYPE html>

<html>
<head>
    <title>设备类型信息Equipment type information</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <!-- VENDOR CSS -->
    <link rel="stylesheet" type="text/css" href="~/Content/vendor/jquery/jquery-ui.css">
    <link rel="stylesheet" type="text/css" href="~/Content/vendor/bootstrap/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="~/Content/vendor/bootstrap/bootstrap-datetimepicker.css">
    <link rel="stylesheet" type="text/css" href="~/Content/vendor/font-awesome/font-awesome.css">
    <link rel="stylesheet" type="text/css" href="~/Content/vendor/toastr/toastr.css">
    <link rel="stylesheet" type="text/css" href="~/Content/vendor/klorofil/main.css">
    <link rel="stylesheet" type="text/css" href="~/Content/aztech-style.css">

    <script type="text/javascript" src="~/Scripts/vendor/modernizr-2.6.2.js"></script>
</head>
<body>
    <div class="panel">
        <div class="panel-body">
            <form id="typeDetailForm" class="form-horizontal" v-if="isNotEmptyObject(type)">
                <div id="typeName" class="form-group">
                    <label for="typeName" class="col-sm-2 control-label">设备类型Equipment type</label>
                    <div class="col-sm-5">
                        <input type="text" class="form-control" placeholder="请填相应设备类型名称Please fill in the name of the corresponding equipment type" v-model="type.Name" />
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
                        <input type="text" v-model="type.ID" hidden />
                        <button v-if="isNewType" class="btn btn-default" v-on:click="SaveType($event)">保存preservation</button>
                        <button v-if="!isNewType" class="btn btn-default" v-on:click="UpdateType($event)">更新renew</button>
                    </div>
                </div>
            </form>
        </div>

    </div>


    <script type="text/javascript" src="~/Scripts/vendor/jquery/jquery-1.10.2.min.js"></script>
    <script type="text/javascript" src="~/Scripts/vendor/jquery/jquery.cookie.min.js"></script>
    <script type="text/javascript" src="~/Scripts/vendor/jquery/jquery.slimscroll.min.js"></script>
    <script type="text/javascript" src="~/Scripts/vendor/bootstrap/bootstrap.min.js"></script>
    <script type="text/javascript" src="~/Scripts/vendor/bootstrap/bootstrap-datetimepicker.min.js"></script>
    <script type="text/javascript" src="~/Scripts/vendor/toastr/toastr.min.js"></script>
    <script type="text/javascript" src="~/Scripts/vendor/klorofil/klorofil-common.js"></script>
    <script type="text/javascript" src="~/Scripts/vendor/respond.min.js"></script>
    <script type="text/javascript" src="~/Scripts/vendor/vue/vue.min.js"></script>
    <script type="text/javascript" src="~/Scripts/aztech-global.js"></script>
    <script type="text/javascript" src="~/Scripts/aztech-script.js"></script>
    <script type="text/javascript" src="~/Scripts/pageJs/Equipment/TypeDetail.js?v=@DateTime.Now.ToFileTimeUtc()"></script>
</body>
</html>
